package com.tedu.egspringbootmvc.mapper;

import com.tedu.egspringbootmvc.pojo.entity.Article;
import com.tedu.egspringbootmvc.pojo.entity.User;
import com.tedu.egspringbootmvc.pojo.vo.ArticleVO;
import org.apache.ibatis.annotations.Param;

public interface UserMapping {
    User selectByUsername(@Param("username") String username, @Param("password") String password);
    int insert(Article article);
    ArticleVO selectByArticleId(int id);
}
